// @APIVersion 1.0.0
// @Title beego Test API
// @Description beego has a very cool tools to autogenerate documents for your API
// @Contact astaxie@gmail.com
// @TermsOfServiceUrl http://beego.me/
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"cdam/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/cdam",

		beego.NSNamespace("/menu",
			beego.NSInclude(
				&controllers.TSysMenuController{},
			),
		),

		beego.NSNamespace("/user",
			beego.NSInclude(
				&controllers.UserController{},
			),
		),

		beego.NSNamespace("/role",
			beego.NSInclude(
				&controllers.RoleController{},
			),
		),

		beego.NSNamespace("/auth",
			beego.NSInclude(
				&controllers.AuthController{},
			),
		),

		beego.NSNamespace("/position",
			beego.NSInclude(
				&controllers.PositionController{},
			),
		),

		beego.NSNamespace("/tenant",
			beego.NSInclude(
				&controllers.TenantController{},
			),
		),

		beego.NSNamespace("/org",
			beego.NSInclude(
				&controllers.OrgController{},
			),
		),

		beego.NSNamespace("/flowprocess",
			beego.NSInclude(
				&controllers.FlowProcessController{},
			),
		),

		beego.NSNamespace("/mategroup",
			beego.NSInclude(
				&controllers.MategroupController{},
			),
		),

		beego.NSNamespace("/gen",
			beego.NSInclude(
				&controllers.GenController{},
			),
		),

		beego.NSNamespace("/flowmodel",
			beego.NSInclude(
				&controllers.FlowModelController{},
			),
		),

		beego.NSNamespace("/recommend",
			beego.NSInclude(
				&controllers.RecommendController{},
			),
		),

		beego.NSNamespace("/stockdetail",
			beego.NSInclude(
				&controllers.DetailController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
